﻿using System;
using Interface;

namespace Model
{
    public class Rid : IRid
    {
        #region Properties
        public long RId { get; set; }
        public string Entity { get; set; }
        public DateTime CreateDate { get; set; }
        public DateTime UpdateDate { get; set; }
        public bool Deleted { get; set; }
        public bool Hidden { get; set; }
        public bool Disabled { get; set; }
        public string SyncUUId { get; set; }
        #endregion

        public Rid(long rid, string entity, DateTime createDate, DateTime updateDate, bool deleted, bool hidden,
                   bool disabled, string synUUid) //constructor
        {
            RId = rid;
            Entity = entity;
            CreateDate = createDate;
            UpdateDate = updateDate;
            Deleted = deleted;
            Hidden = hidden;
            Disabled = Disabled;
            SyncUUId = synUUid;
        }
    }
}